<!--
title: 配置管理
description: 
published: true
date: 2025-06-21T10:27:54.951Z
tags: 
editor: ckeditor
dateCreated: 2025-06-19T08:17:13.417Z
-->

<h1>获取配置</h1>
<p>&nbsp;</p>
<pre><code class="language-plaintext"># 获取项目配置
data = config.get(key)</code></pre>
<p>&nbsp;</p>
<ul>
  <li>参数说明<br>key：配置名</li>
</ul>
<p>&nbsp;</p>
<h1>简单示例</h1>
<p>&nbsp;</p>
<pre><code class="language-plaintext"># 导入SDK
global log_print

config_data = config.get("test")

log_print(config_data, "INFO")
return config_data</code></pre>
<p>&nbsp;</p>
